log/slog.handleState.h (field)
23 uses
log/slog (current package)
handler.go#L319: if pfa := s.h.preformattedAttrs; len(pfa) > 0 {
handler.go#L322: s.sep = s.h.attrSep()
handler.go#L323: if s.h.json && pfa[len(pfa)-1] == '{' {
handler.go#L330: nOpenGroups := s.h.nOpenGroups
handler.go#L332: s.prefix.WriteString(s.h.groupPrefix)
handler.go#L339: nOpenGroups = len(s.h.groups)
handler.go#L349: nOpenGroups = s.h.nOpenGroups
handler.go#L352: if s.h.json {
handler.go#L354: for range s.h.groups[:nOpenGroups] {
handler.go#L374: h *commonHandler
handler.go#L389: h: h,
handler.go#L414: for _, n := range s.h.groups[s.h.nOpenGroups:] {
handler.go#L425: if s.h.json {
handler.go#L441: if s.h.json {
handler.go#L446: s.sep = s.h.attrSep()
handler.go#L469: if rep := s.h.opts.ReplaceAttr; rep != nil && a.Value.Kind() != KindGroup {
handler.go#L486: if s.h.json {
handler.go#L533: if s.h.json {
handler.go#L538: s.sep = s.h.attrSep()
handler.go#L542: if s.h.json {
handler.go#L575: if s.h.json {
handler.go#L586: if s.h.json {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)